package com.linzt.candy.wxmp.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.linzt.candy.common.core.web.domain.BaseEntity;

import java.sql.Timestamp;

/**
 * @Author linzt
 * @Date 2020/12/19 11:09 下午
 * @Description 微信公众号素材实体类
 * @Version 1.0
 */
@TableName("tb_wx_mp_material")
public class WxMpMaterial extends BaseEntity {

    /**
     * ID
     */
    @TableId(type = IdType.AUTO)
    private String id;

    /**
     * 微信appid
     */
    private String appId;

    /**
     * 素材名称
     */
    private String name;

    /**
     * 素材id
     */
    private String mediaId;

    /**
     * 是否发布
     */
    private Boolean upload;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMediaId() {
        return mediaId;
    }

    public void setMediaId(String mediaId) {
        this.mediaId = mediaId;
    }

    public Boolean getUpload() {
        return upload;
    }

    public void setUpload(Boolean upload) {
        this.upload = upload;
    }

    @Override
    public String toString() {
        return "WxMpMaterial{" +
                "id='" + id + '\'' +
                ", appId='" + appId + '\'' +
                ", name='" + name + '\'' +
                ", mediaId='" + mediaId + '\'' +
                ", upload=" + upload +
                '}';
    }
}